import { Graph } from '@antv/x6'
import { createPods } from './ports'
Graph.registerNode(
  'event',
  {
    inherit: 'circle',
    width: 40,
    height: 40, 
    attrs: {
      body: {
        strokeWidth: 2,
        stroke: '#5F95FF',
        fill: 'transparent'
      },
      label: {
        fontSize: 12,
        fill: '#262626',
      },
    },
    ports: createPods('top', 'left', 'bottom', 'right')
  },
  true,
)